module.exports = {
  presets: [
    [
      '@babel/preset-env',
      {
        // useBuiltIns: false, // false: use core-js
        // useBuiltIns: 'entry', // 'entry': use core-js for the project's entry point
        useBuiltIns: 'usage', // 'usage': use core-js, but only for modules used in the project
        corejs: 3, // corejs version
        // targets: {
        //   node: 'current',
        // },
      },
    ],
  ],
  // plugins: [
  //   '@babel/plugin-proposal-class-properties',
  //   '@babel/plugin-proposal-object-rest-spread',
  //   '@babel/plugin-transform-runtime',
  // ],
}
